package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户

    public List<User> findAll() throws Exception;

    //根据条件进行查询
    public User findByCondition(User user) throws Exception;

    //添加
    void add(User user) throws Exception;

    //更新
    void update(User user) throws Exception;

    //删除
    void delete(User user) throws Exception;

}
